﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;

namespace HomeGuardBand.Models
{
    public class InstrumentType: IEntity
    {
        #region Constructor

        public InstrumentType()
        {
            Instruments = new Collection<Instrument>();
        }

        #endregion

        [Key]
        public int Id { get; set; }
        public bool Active { get; set; }

        public string Name { get; set; }
        public string Description { get; set; }

        public virtual ICollection<Instrument> Instruments { get; set; }
    }
}